package edu.spex.yjl.week04;

class Sheel{
    private String name;

    public Sheel(String name){
        this.name = name;
    }
    public String getName(){
        return this.name;
    }
}
class Prawn{
    private String name;

    public Prawn(String name){
        this.name = name;
    }
    public String getName(){
        return this.name;
    }
}
class Seal{
    private String name;

    public Seal(String name){
        this.name = name;
    }
    public String getName(){
        return this.name;
    }
    public void eat(Sheel sheel){}
    public void eat(Sheel sheel1, Sheel sheel2){}
    public void eat(Prawn prawn){}
    public void eat(Sheel sheel, Prawn prawn){
        System.out.println("i am" + this.name + ", let me have" + sheel.getName() + ", after being" + prawn.getName());
    }
    public void eat(Prawn prawn1, Sheel sheel1){}
}
class Fish{
    private String name;

    public Fish(String name){
        this.name = name;
    }
    public String getName(){
        return this.name;
    }
    public void eat(Sheel sheel){}
    public void eat(Sheel sheel1, Sheel sheel2){}
    public void eat(Prawn prawn){}
    public void eat(Sheel sheel, Prawn prawn){
        System.out.println("i am" + this.name + ", let me have" + sheel.getName() + ", after being" + prawn.getName());
    }
    public void eat(Prawn prawn1, Sheel sheel1){}
}
public class Test {
    public static void main(String []args){

        Fish fish = new Fish("fish");
        Sheel sheel = new Sheel("sheel");
        Prawn prawn = new Prawn("prawn");
        Seal seal = new Seal("seal");

        fish.eat(sheel,prawn);
    }
}
